For discovering as much information about the web server once found, we need to bruteforce URLs, DNS subdomains and virtual hosts.
Nikto
Nikto is an Open Source (GPL) web server scanner which performs comprehensive tests against web servers for multiple items, including over 6700 potentially dangerous files/programs, checks for outdated versions of over 1250 servers, and version specific problems on over 270 servers. It also checks for server configuration items such as the presence of multiple index files, HTTP server options, and will attempt to identify installed web servers and software. Scan items and plugins are frequently updated and can be automatically updated.
Scan a host
1
nikto -h $RHOST
Scan specefic ports
1
nikto -h $RHOST -port $PORT1, $PORT2
Gobuster
Gobuster is a tool used to brute-force :- URIs (directories and files) in web sites, DNS subdomains (with wildcard support), Virtual Host names on target web servers, Open Amazon S3 buckets
Find directories and files . Check what framework application is using and set values for -x flag accordingly
1
gobuster dir -u $RHOST -w $WORDLIST -t 50 -x <file_extensions>
Vhost Mode (Finds out if the subdomain exists by visiting url and verifying IP address)